<php>
//判断用户手机号码是否绑定，未绑定则无法查看，因为需手机号码才能查询相应数据
$mobiledata = model('User')->selectPhoneBookByMap(array('ownerid'=>$_SESSION['mid'],'is_delete'=>'N'),28) ;
if(!empty($mobiledata['data'])){
</php>
<script type="text/javascript">
//鼠标移动表格效果
$(document).ready(function(){
	initlistStyle();
});
</script>
<style>
.pb_list .bg_hover {
    background-color: #E5ECF9;
}
.pb_item{
	width:302px;float:left;padding:10px 40px;
}
.pb_item .pb_mobile{
	text-align: left;border-left: 0px;margin-right:30px;width:90px;float:left;font-weight: bold;font-size:12px;
}
.pb_item .pb_name{
	overflow: hidden;font-weight: bold;font-size:12px;width: 75px;float:left;
}
.pb_item .pb_opt{
	float: right; text-align: right; width: 80px;
}
</style>
			<div id="clear"></div>
  			<div class="pb_list" style="margin-top:0px">
					  <volist id="vo" name="mobiledata['data']">
						  <div class="pb_item" rel="pb_{$vo['id']}">
						 		<div class="pb_mobile">{$vo['mobile']}</div>
						       	<div class="pb_name" id="pb_name_{$vo['id']}" >{$vo['name']}</div>
						       	<div class="pb_opt">
						       	<a  href="javascript:void(0);" onclick="showModifyPbook('{$vo['id']}',this)"
						       		callback="doModifyPbook('{$vo['id']}','{$vo['mobile']}')" >修改</a>
						       	&nbsp;&nbsp;
						       	<a href="javascript:void(0);" onclick="ui.confirm(this,'确认删除手机号么？');"
						       		callback="doDeletePbook('{$vo['mobile']}')" >删除</a>
						       	</div>
						  </div>
					  </volist>
			  </div>
			  <div id="clear"></div>
			  <div>
				  <div class="page_box">{$mobiledata['html']}</div>
			  </div>
<php>}else{</php>
	<div style="width:100%;text-align:center;margin-top:15px;">
	<php>$alert_message="无手机号码 ！";</php>
		<include file="../Public/alert_box.html" />
	</div>
<php>}</php>